package org.example.steamshop.form;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

public class GameForm {
    private String name;
    private Double price;
    private String producer;


    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    private LocalDate launchDate;
    private String category;
    private String type;
    private String description;
    private String imageUrl;


    // Getters and Setters
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public Double getPrice() { return price; }
    public void setPrice(Double price) { this.price = price; }

    public String getProducer() { return producer; }
    public void setProducer(String producer) { this.producer = producer; }

    public LocalDate getLaunchDate() { return launchDate; }
    public void setLaunchDate(LocalDate launchDate) { this.launchDate = launchDate; }

    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }

    public String getType() { return type; }
    public void setType(String type) { this.type = type; }

    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }

    public String getImageUrl() { return imageUrl; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }


}